import { defineStore } from 'pinia'

export const useUserStore = defineStore('user', {
    state: () => {
        return {
            age:18
        }
    },
    actions:{
        increaseAge(){
            this.age++
        },
        decreaseAge(){
            this.age--
        }
    },
    persist: true
})
